<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `ecs_template`;");
E_C("CREATE TABLE `ecs_template` (
  `filename` varchar(30) NOT NULL default '',
  `region` varchar(40) NOT NULL default '',
  `library` varchar(40) NOT NULL default '',
  `sort_order` tinyint(1) unsigned NOT NULL default '0',
  `id` smallint(5) unsigned NOT NULL default '0',
  `number` tinyint(1) unsigned NOT NULL default '5',
  `type` tinyint(1) unsigned NOT NULL default '0',
  `theme` varchar(60) NOT NULL default '',
  `remarks` varchar(30) NOT NULL default '',
  KEY `filename` (`filename`,`region`),
  KEY `theme` (`theme`),
  KEY `remarks` (`remarks`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
E_D("replace into `ecs_template` values('brand','','/library/recommend_promotion.lbi','0','0','3','0','shunfeng','');");
E_D("replace into `ecs_template` values('brand','左边区域','/library/recommend_best.lbi','0','0','5','0','shunfeng','');");
E_D("replace into `ecs_template` values('goods','浏览历史','/library/history.lbi','0','0','0','0','shunfeng','');");
E_D("replace into `ecs_template` values('goods','购买过此商品的人还买过的商品','/library/bought_goods.lbi','0','0','0','0','shunfeng','');");
E_D("replace into `ecs_template` values('goods','相关商品','/library/goods_related.lbi','0','0','0','0','shunfeng','');");
E_D("replace into `ecs_template` values('category','','/library/recommend_new.lbi','0','0','40','0','shunfeng','');");
E_D("replace into `ecs_template` values('category','','/library/recommend_promotion.lbi','0','0','3','0','shunfeng','');");
E_D("replace into `ecs_template` values('category','','/library/brands.lbi','0','0','3','0','shunfeng','');");
E_D("replace into `ecs_template` values('category','热卖商品区域','/library/recommend_hot.lbi','0','0','3','0','shunfeng','');");
E_D("replace into `ecs_template` values('category','精品推荐区域','/library/recommend_best.lbi','0','0','3','0','shunfeng','');");
E_D("replace into `ecs_template` values('category_top','','/library/brands.lbi','0','0','3','0','shunfeng','');");
E_D("replace into `ecs_template` values('category_top','','/library/recommend_promotion.lbi','0','0','3','0','shunfeng','');");
E_D("replace into `ecs_template` values('category_top','','/library/recommend_hot.lbi','0','0','3','0','shunfeng','');");
E_D("replace into `ecs_template` values('category_top','','/library/recommend_new.lbi','0','0','40','0','shunfeng','');");
E_D("replace into `ecs_template` values('category_top','','/library/recommend_best.lbi','0','0','3','0','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页产品区底下广告','/library/ad_position.lbi','0','105','1','4','shunfeng','');");
E_D("replace into `ecs_template` values('index','限时抢购底下广告','/library/ad_position.lbi','0','92','1','4','shunfeng','');");
E_D("replace into `ecs_template` values('index','限时抢购右边广告','/library/ad_position.lbi','0','91','1','4','shunfeng','');");
E_D("replace into `ecs_template` values('index','口碑甄选右边广告','/library/ad_position.lbi','0','90','1','4','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页轮播上小广告区域三','/library/ad_position.lbi','0','89','1','4','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域五（宽）','/library/ad_position.lbi','0','85','1','4','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域六（宽）','/library/ad_position.lbi','0','86','1','4','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页轮播上小广告区域二','/library/ad_position.lbi','0','88','1','4','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页轮播上小广告区域一','/library/ad_position.lbi','0','87','1','4','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域四（宽）','/library/ad_position.lbi','0','84','1','4','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域三（宽）','/library/ad_position.lbi','0','83','1','4','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域二（宽）','/library/ad_position.lbi','0','82','1','4','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域一（宽）','/library/ad_position.lbi','0','81','1','4','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','4','732','8','1','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','5','683','8','1','shunfeng','');");
E_D("replace into `ecs_template` values('index','口碑甄选右边最新动态','/library/cat_articles.lbi','0','21','10','3','shunfeng','');");
E_D("replace into `ecs_template` values('index','优选的味道','/library/cat_articles.lbi','0','22','5','3','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','2','862','8','1','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','3','779','8','1','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','1','810','8','1','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','0','634','8','1','shunfeng','');");
E_D("replace into `ecs_template` values('index','','/library/brands.lbi','0','0','3','0','shunfeng','');");
E_D("replace into `ecs_template` values('index','限时抢购区域（促销商品）','/library/recommend_promotion.lbi','0','0','5','0','shunfeng','');");
E_D("replace into `ecs_template` values('index','','/library/group_buy.lbi','0','0','3','0','shunfeng','');");
E_D("replace into `ecs_template` values('index','','/library/auction.lbi','0','0','3','0','shunfeng','');");
E_D("replace into `ecs_template` values('index','口碑甄选（热销）','/library/recommend_hot.lbi','0','0','8','0','shunfeng','');");
E_D("replace into `ecs_template` values('index','','/library/recommend_new.lbi','0','0','3','0','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页发现优品（调用精品）','/library/recommend_best.lbi','0','0','20','0','shunfeng','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域六（宽）','/library/ad_position.lbi','0','86','1','4','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域五（宽）','/library/ad_position.lbi','0','85','1','4','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域四（宽）','/library/ad_position.lbi','0','84','1','4','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域三（宽）','/library/ad_position.lbi','0','83','1','4','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域二（宽）','/library/ad_position.lbi','0','82','1','4','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域一（宽）','/library/ad_position.lbi','0','81','1','4','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','优选的味道','/library/cat_articles.lbi','0','22','5','3','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','口碑甄选右边最新动态','/library/cat_articles.lbi','0','21','10','3','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','5','683','8','1','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','4','732','8','1','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','3','779','8','1','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','2','862','8','1','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','1','810','8','1','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','','/library/brands.lbi','0','0','3','0','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','0','634','8','1','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','','/library/auction.lbi','0','0','3','0','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','','/library/group_buy.lbi','0','0','3','0','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','限时抢购区域（促销商品）','/library/recommend_promotion.lbi','0','0','5','0','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','口碑甄选（热销）','/library/recommend_hot.lbi','0','0','8','0','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','','/library/recommend_new.lbi','0','0','3','0','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页发现优品（调用精品）','/library/recommend_best.lbi','0','0','20','0','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页轮播上小广告区域一','/library/ad_position.lbi','0','87','1','4','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页轮播上小广告区域二','/library/ad_position.lbi','0','88','1','4','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页轮播上小广告区域三','/library/ad_position.lbi','0','89','1','4','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','口碑甄选右边广告','/library/ad_position.lbi','0','90','1','4','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','限时抢购右边广告','/library/ad_position.lbi','0','91','1','4','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','限时抢购底下广告','/library/ad_position.lbi','0','92','1','4','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页产品区底下广告','/library/ad_position.lbi','0','105','1','4','shunfeng_red','');");
E_D("replace into `ecs_template` values('index','首页发现优品（调用精品）','/library/recommend_best.lbi','0','0','20','0','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','','/library/recommend_new.lbi','0','0','3','0','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','口碑甄选（热销）','/library/recommend_hot.lbi','0','0','8','0','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','限时抢购区域（促销商品）','/library/recommend_promotion.lbi','0','0','5','0','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','','/library/group_buy.lbi','0','0','3','0','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','','/library/auction.lbi','0','0','3','0','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','','/library/brands.lbi','0','0','3','0','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','0','634','8','1','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','1','810','8','1','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','2','862','8','1','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','3','779','8','1','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','4','732','8','1','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页分类下商品区域','/library/cat_goods.lbi','5','683','8','1','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','口碑甄选右边最新动态','/library/cat_articles.lbi','0','21','10','3','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','优选的味道','/library/cat_articles.lbi','0','22','5','3','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域一（宽）','/library/ad_position.lbi','0','81','1','4','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域二（宽）','/library/ad_position.lbi','0','82','1','4','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域三（宽）','/library/ad_position.lbi','0','83','1','4','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域四（宽）','/library/ad_position.lbi','0','84','1','4','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域五（宽）','/library/ad_position.lbi','0','85','1','4','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页顶部幻灯片区域六（宽）','/library/ad_position.lbi','0','86','1','4','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页轮播上小广告区域一','/library/ad_position.lbi','0','87','1','4','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页轮播上小广告区域二','/library/ad_position.lbi','0','88','1','4','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页轮播上小广告区域三','/library/ad_position.lbi','0','89','1','4','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','口碑甄选右边广告','/library/ad_position.lbi','0','90','1','4','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','限时抢购右边广告','/library/ad_position.lbi','0','91','1','4','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','限时抢购底下广告','/library/ad_position.lbi','0','92','1','4','shunfeng_blue','');");
E_D("replace into `ecs_template` values('index','首页产品区底下广告','/library/ad_position.lbi','0','105','1','4','shunfeng_blue','');");

require("../../inc/footer.php");
?>